Match special globals in Ruby better
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 24 Mar 2014 08:53:56 +0000 (10:53 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 24 Mar 2014 08:53:56 +0000 (10:53 +0200)
commit161975fbf6afc7ccd603cdb148b5a6c5af5f1756
tree934cb65f49e717fc2cb68c27c822456a845d44e4
parent08ed3b6f5b7411ad48193f71d1a4b5ba34e3875e
Match special globals in Ruby better

* lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re):
Match special global variables without curlies, too.
(ruby-font-lock-keywords): Simplify the matcher for special global
variables.  Don't require a non-word character after the variable.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el